Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to invite user as owner #938

Merged
merged 28 commits into from
Nov 28, 2024
Merged

Added ability to invite user as owner #938

merged 28 commits into from
Nov 28, 2024

Conversation

Anahkiasen
Copy link
Contributor

Added

  • Added ability to invite user as owner

Waiting for cultuurnet/udb3-backend#1847 to wrap up

Ticket: https://jira.publiq.be/browse/III-6358

@Anahkiasen Anahkiasen self-assigned this Oct 21, 2024
# Conflicts:
#	src/hooks/api/ownerships.ts
#	src/i18n/nl.json
#	src/pages/organizers/[organizerId]/ownerships/index.page.tsx
# Conflicts:
#	src/hooks/api/ownerships.ts
#	src/i18n/nl.json
#	src/pages/organizers/[organizerId]/ownerships/index.page.tsx
@simon-debruijn simon-debruijn dismissed their stale review November 5, 2024 10:48

still in draft

@Anahkiasen Anahkiasen marked this pull request as ready for review November 18, 2024 15:09
const ownershipId = error.body.detail.split('with id ')[1];
await approveRequestedOwnership(ownershipId);
} else {
setError('email', { message: error.body.detail || error.title });
Copy link
Contributor Author

@Anahkiasen Anahkiasen Nov 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simon-debruijn I did this originally to cascade the email errors back to the user UI, but ended up reverting it to a generic since but it allowed users to probe for existing emails in the system, but now it's sometimes cryptic why an email is rejected. Do you think we should show the actual errors?

@Anahkiasen Anahkiasen merged commit d9487c2 into main Nov 28, 2024
4 of 5 checks passed
@Anahkiasen Anahkiasen deleted the feature/III-6358 branch November 28, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants